export const checkPermMixin = {
  methods: {
    checkPerm(pointName) {
      return this.$store.state.user.userInfo.roles && this.$store.state.user.userInfo.roles.points.includes(pointName)
    }
  }
}
